import type { AppProps } from 'next/app'
import React, { useEffect } from 'react'
import "antd-mobile/es/global/";
import '../styles/globals.scss'
import '../assets/icon/iconfont.css'


if (typeof window === 'undefined') {
  React.useLayoutEffect = React.useEffect
}

function MyApp({ Component, pageProps }: AppProps) {

  return (
    <Component {...pageProps} />
  )
}

export default MyApp;
